package myky.com.doctorapp.entity;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.List;

public class HomeArtiCalEntity implements MultiItemEntity {

    public static final int IMAGITEM = 101;
    public static final int NORMALCONTEN = 102;
    private int type;
    private String title;
    private String createtime;
    private List<String> resource;
    private int articleid;

    public int getArticleid() {
        return articleid;
    }

    public void setArticleid(int articleid) {
        this.articleid = articleid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public List<String> getResource() {
        return resource;
    }

    public void setResource(List<String> resource) {
        this.resource = resource;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public int getItemType() {
        return type;
    }
}
